package com.jswlw.entity.biz;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jswlw.entity.PageRequest;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Distributor extends PageRequest {

    private Integer id;

    private Integer parentId;

    private String password;

    private Integer level;

    private Integer rate;

    private String name;

    private String linkMan;

    private String linkTel;

    private String address;

    private String idCard;

    private Integer status;

    private String bank;

    private String bankName;

    private String bankAccount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private Integer onlineCount;

    private Integer allCount;

    private String devTypes;

    private Integer ll;

    private Integer sc;

    private List<Integer> devTypeIdList;

    private List<DevType> devTypeList;

    private List<DevInfo> devInfoList;

    private List<Integer> childrenIds;

    private List<Integer> distributorIds;

    private int allRecord;

    private int willRecord;

    private int recorded;
}